package io.kiki.task.server.job.task.support.prepare.job;

import io.kiki.task.server.job.task.dto.JobTaskPrepareDTO;
import io.kiki.task.server.job.task.support.JobPrepareHandler;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public abstract class AbstractJobPrepareHandler implements JobPrepareHandler {

    @Override
    public void handle(JobTaskPrepareDTO jobPrepareDTO) {

        doHandle(jobPrepareDTO);
    }

    protected abstract void doHandle(JobTaskPrepareDTO jobPrepareDTO);
}
